package com.springboot.learn.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

//@EnableWebMvc
@SpringBootApplication
public class WebApplication{

	public static void main(String[] args) {
		SpringApplication.run(WebApplication.class, args);
	}
//
//	@Override
//	protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//		super.addResourceHandlers(registry);
//		registry.addResourceHandler("/**").addResourceLocations("/");
//	}
}
